PowerTCP Emulation for .NET CF
Data Constructor(Byte[],Int32,Int32)
See Also  Send comments on this topic.
Dart.Common Namespace > Data Class > Data Constructor : Data Constructor(Byte[],Int32,Int32)




buffer
The buffer holding byte data values.
offset
The number of offset bytes where the data starts.
count
The number of bytes with data values.
Creates a Data object using the system default encoding.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal buffer() As Byte, _
   ByVal offset As Integer, _
   ByVal count As Integer _
)
Visual Basic (Usage)Copy Code
Dim buffer() As Byte
Dim offset As Integer
Dim count As Integer
 
Dim instance As New Data(buffer, offset, count)
C# 
public Data( 
   byte[] buffer,
   int offset,
   int count
)
Managed Extensions for C++ 
public: Data( 
   byte[]* buffer,
   int offset,
   int count
)
C++/CLI 
public:
Data( 
   array<byte>^ buffer,
   int offset,
   int count
)

Parameters

buffer
The buffer holding byte data values.
offset
The number of offset bytes where the data starts.
count
The number of bytes with data values.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.